<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Ell - 轻量级函数式提示工程框架</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #1a1a1a;
            line-height: 1.6;
        }
        h1, h2, h3, h4, h5 {
            font-family: 'Noto Serif SC', serif;
            font-weight: 700;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .feature-icon {
            font-size: 2.5rem;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .code-block {
            background-color: #2d3748;
            border-left: 4px solid #667eea;
        }
        .highlight {
            position: relative;
        }
        .highlight::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 30%;
            background-color: rgba(102, 126, 234, 0.2);
            z-index: -1;
            transition: all 0.3s ease;
        }
        .highlight:hover::after {
            height: 100%;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-6">
        <div class="max-w-6xl mx-auto">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-10 md:mb-0">
                    <h1 class="text-4xl md:text-5xl font-bold mb-6 leading-tight">Ell</h1>
                    <h2 class="text-2xl md:text-3xl font-semibold mb-6">轻量级函数式提示工程框架</h2>
                    <p class="text-xl mb-8 opacity-90">将语言模型提示视为可编程函数，而非简单的文本字符串</p>
                    <div class="flex flex-wrap gap-4">
                        <a href="#getting-started" class="bg-white text-indigo-700 hover:bg-gray-100 px-6 py-3 rounded-lg font-medium transition duration-300">
                            <i class="fas fa-rocket mr-2"></i>快速开始
                        </a>
                        <a href="https://github.com/MadcowD/ell" target="_blank" class="bg-transparent border-2 border-white hover:bg-white hover:text-indigo-700 px-6 py-3 rounded-lg font-medium transition duration-300">
                            <i class="fab fa-github mr-2"></i>GitHub 仓库
                        </a>
                    </div>
                </div>
                <div class="md:w-1/2 flex justify-center">
                    <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1754964810075-77019434-cac7-4c89-9dde-1dcfc6507dae.png" alt="Ell Logo" class="rounded-lg shadow-2xl max-w-full h-auto" style="max-height: 350px;">
                </div>
            </div>
        </div>
    </section>

    <!-- Problem Section -->
    <section class="py-16 px-6 bg-white">
        <div class="max-w-4xl mx-auto">
            <h2 class="text-3xl font-bold text-center mb-12 relative">
                <span class="highlight px-4">它能解决什么问题</span>
            </h2>
            <p class="text-lg text-gray-700 mb-10 text-center">在与大型语言模型（LLM）交互时，开发者常面临以下痛点：</p>
            
            <div class="grid md:grid-cols-2 gap-8">
                <div class="bg-gray-50 p-6 rounded-xl border border-gray-200 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="mr-4">
                            <i class="fas fa-code-branch feature-icon"></i>
                        </div>
                        <h3 class="text-xl font-semibold">提示管理混乱</h3>
                    </div>
                    <p class="text-gray-600">反复修改提示字符串，难以跟踪版本和效果</p>
                </div>
                
                <div class="bg-gray-50 p-6 rounded-xl border border-gray-200 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="mr-4">
                            <i class="fas fa-redo feature-icon"></i>
                        </div>
                        <h3 class="text-xl font-semibold">重复劳动</h3>
                    </div>
                    <p class="text-gray-600">手动构造复杂的提示结构，缺乏复用性</p>
                </div>
                
                <div class="bg-gray-50 p-6 rounded-xl border border-gray-200 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="mr-4">
                            <i class="fas fa-images feature-icon"></i>
                        </div>
                        <h3 class="text-xl font-semibold">多